package org.darkforest.common.services;

import org.darkforest.model.Brand;
import org.darkforest.model.BrandBean;

import java.util.List;

/**
 * Created by Libing on 2015/6/30.
 */
public interface BrandService {
    /**
     * 品牌集合
     * @return
     */
    List<Brand> selectAllBrand();

    /**
     * 品牌分页列表
     * @param brandBean
     * @return
     */
    BrandBean selectBrandByPage(BrandBean brandBean);

    void delBrand(Brand brand);

    int addBrand(Brand brand);

    Brand getBrandInfo(Integer id);

    int editBrand(Brand brand);

    /**
     * 根据条件查询品牌信息
     * @param brand
     * @return
     */
    List<Brand> findBrandByCondition(Brand brand);
}
